package a.d;

import java.awt.*;
import java.io.Serializable;

public final class u
  implements Serializable
{
  private static final long a = -4186151360048850491L;
  public final double b;
  public final double c;
  public final double d;
  public final double e;
  public static int f;
  
  public u(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this.b = paramDouble1;
    this.c = paramDouble2;
    this.d = paramDouble3;
    this.e = paramDouble4;
  }
  
  public u(Insets paramInsets)
  {
    this(paramInsets.top, paramInsets.left, paramInsets.bottom, paramInsets.right);
  }
  
  public Insets a()
  {
    return new Insets((int)Math.rint(this.b), (int)Math.rint(this.c), (int)Math.rint(this.d), (int)Math.rint(this.e));
  }
  
  public boolean equals(Object paramObject)
  {
    boolean bool = w.e;
    if (!bool) {
      if (this == paramObject) {
        return true;
      }
    }
    if (paramObject != null)
    {
      if (bool) {
        break label37;
      }
      if (getClass() == paramObject.getClass()) {}
    }
    else
    {
      return false;
    }
    label37:
    u localu = (u)paramObject;
    if (!bool) {
      if (a(localu.d, this.d) != 0) {
        return false;
      }
    }
    if (!bool) {
      if (a(localu.c, this.c) != 0) {
        return false;
      }
    }
    if (!bool) {
      if (a(localu.e, this.e) != 0) {
        return false;
      }
    }
    if (!bool) {
      if (a(localu.b, this.b) != 0) {
        return false;
      }
    }
    return true;
  }
  
  public int hashCode()
  {
    boolean bool = w.e;
    long l = (bool) || (this.b != 0.0D) ? Double.doubleToLongBits(this.b) : 0L;
    int i = (int)(l ^ l >>> 32);
    l = (bool) || (this.c != 0.0D) ? Double.doubleToLongBits(this.c) : 0L;
    i = 31 * i + (int)(l ^ l >>> 32);
    l = (bool) || (this.d != 0.0D) ? Double.doubleToLongBits(this.d) : 0L;
    i = 31 * i + (int)(l ^ l >>> 32);
    l = (bool) || (this.e != 0.0D) ? Double.doubleToLongBits(this.e) : 0L;
    i = 31 * i + (int)(l ^ l >>> 32);
    return i;
  }
  
  public String toString()
  {
    return getClass().getName() + "[top=" + this.b + ";left=" + this.c + ";bottom=" + this.d + ";right=" + this.e + "]";
  }
  
  static int a(double paramDouble1, double paramDouble2)
  {
    boolean bool = w.e;
    if (!bool)
    {
      if (paramDouble1 > paramDouble2) {
        return 1;
      }
      if (bool) {}
    }
    else if (paramDouble1 < paramDouble2)
    {
      return -1;
    }
    long l1 = Double.doubleToLongBits(paramDouble1);
    long l2 = Double.doubleToLongBits(paramDouble2);
    if (!bool) {}
    if (!bool) {}
    return l1 > l2 ? 1 : l1 == l2 ? 0 : -1;
  }
  
  public static u a(Object paramObject)
  {
    if (!w.e) {
      if ((paramObject instanceof u)) {
        return (u)paramObject;
      }
    }
    if ((paramObject instanceof Insets)) {
      return new u((Insets)paramObject);
    }
    return null;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.d.u

 * JD-Core Version:    0.7.0.1

 */